﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="Phila.Master"
    CodeBehind="Default.aspx.vb" Inherits="Phila._Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="css/nivo-slider.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $(function () {
            //$(".hotdeals .htour:last-child").addClass("last");
        });
    </script>
    <script type="text/javascript" src="Scripts/jquery.nivo.slider.js"></script>
    <script type="text/javascript">
        $(window).load(function () {
            $('#slideshow').nivoSlider();
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="home-banner" class="clearfix">
        <div id="slideshow" class="nivoSlider">
            <img src="images/slide-01.jpg" alt="" />
            <%--<img src="images/slide-02.jpg" alt="" />
            <img src="images/slide-03.jpg" alt="" />--%>
        </div>
        <div id="introduction">
            <asp:Literal ID="ltrIntro" runat="server"></asp:Literal>
        </div>
    </div>
    <div id="content">
        <div class="hotdeals clearfix">
            <div class="content">
                <h3>
                    Hot Deal</h3>
                <asp:Literal ID="ltrHotDeals" runat="server"></asp:Literal>
                <asp:DataList ID="dlHotDeals" runat="server" RepeatColumns="3" ItemStyle-VerticalAlign="Top">
                    <ItemTemplate>
                        <div class="htour">
                            <span class="curves ctop"></span><span class="curves cbot"></span>
                            <div class="image">
                                <a href='<%# Eval("Id", "Tours.aspx?tid={0}") %>'>
                                    <asp:Image ID="imgThumb" runat="server" ImageUrl='<%# "Images/Img/" & Eval("Thumbnail") %>' /></a>
                            </div>
                            <div class="duration">
                                <div class="days">
                                    <span>
                                        <asp:Label ID="lblDays" runat="server" Text='<%# Eval("Days") %>' /></span>
                                    Days</div>
                                <div class="nights">
                                    <span>
                                        <asp:Label ID="lblNights" runat="server" Text='<%# Eval("Nights") %>' /></span>
                                    Nights</div>
                            </div>
                            <div class="title">
                                <a href="<%# Eval("Id", "Tours.aspx?tid={0}") %>">
                                    <asp:Label ID="lblName" runat="server" Text='<%# Eval("Name") %>' /></a></div>
                            <div class="summary">
                                <asp:Label ID="lblSummary" runat="server" Text='<%# Mid(Eval("Summary"),1,100) & "..." %>' /></div>
                            <div class="price">
                                <span class="label">Starts from</span><span class="amount"><%#string.Format("{0:n2}",Eval("Price"))%></span></div>
                            <a href="<%# Eval("Id", "Tours.aspx?tid={0}") %>" class="viewmore">View more</a>
                        </div>
                    </ItemTemplate>
                </asp:DataList>
            </div>
        </div>
        <div class="content clearfixt">
            <div class="leatest-hotels clearfix">
                <h3>
                    Latest Hotels</h3>
                <asp:Literal ID="ltrHotels" runat="server"></asp:Literal>
                <asp:DataList ID="dlHotels" runat="server" RepeatColumns="4" ItemStyle-VerticalAlign="Top">
                    <ItemTemplate>
                        <div class="hhotel">
                            <span class="curves ctop"></span><span class="curves cbot"></span>
                            <div class="image">
                                <a href="<%# Eval("Id", "HotelDetails.aspx?hid={0}") %>">
                                    <asp:Image ID="Image1" runat="server" ImageUrl='<%# "Images/Img/" & Eval("Thumbnail") %>' /></a>
                            </div>
                            <div class="title">
                                <a href="<%# Eval("Id", "HotelDetails.aspx?hid={0}") %>">
                                    <asp:Label ID="lblName" runat="server" Text='<%# Eval("Name") %>' /></a></div>
                            <div class="summary">
                                <asp:Label ID="lblSummary" runat="server" Text='<%# Eval("City") %>' /></div>
                            <div class="starts">
                                <asp:Image ID="Image2" runat="server" ImageUrl='<%# "Images/Icons/" & Eval("CatName") & "star.gif" %>' />
                            </div>
                            <a href="<%# Eval("Id", "HotelDetails.aspx?hid={0}") %>" class="viewmore">View more</a>
                        </div>
                    </ItemTemplate>
                </asp:DataList>
            </div>
            <div class="testimonials clearfix">
                <span class="curves ctop"></span><span class="curves cbot"></span>
                <div class="title">
                    Testimonials
                    <asp:HyperLink ID="hTestimonials" runat="server" Text="View All..." NavigateUrl="~/Testimonials.aspx" Visible="false"></asp:HyperLink>
                </div>
                <div class="comments">
                    <asp:Literal ID="ltrTestimonials" runat="server"></asp:Literal>
                </div>
            </div>
        </div>
        <div class="latest-news clearfix">
            <div class="content">
                <div class="floatleft">
                    Latest News
                    <asp:HyperLink ID="hNews" runat="server" Text="View All..." NavigateUrl="~/News.aspx" Visible="false"></asp:HyperLink>
                </div>
                <div class="floatright">
                    <asp:Literal ID="ltrNews" runat="server"></asp:Literal>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
